home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000304_wesdog@hotmail.com_Thu Feb 13 18:09:56 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
2KB
|
39 lines
Article: 14100 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: wesdog@hotmail.com (Wes)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Dealing with '\' char in strings of file locations
Date: 13 Feb 2003 14:51:38 -0800
Organization: http://groups.google.com/
Lines: 20
Message-ID: <a70f50e.0302131451.4fe831f@posting.google.com>
References: <a70f50e.0302121525.7922c8c3@posting.google.com>
NNTP-Posting-Host: 65.207.13.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1045176698 14432 127.0.0.1 (13 Feb 2003 22:51:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Feb 2003 22:51:38 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14100
I have learned alot since my last post... I believe I understand the
difference between ASSIGN, EVALUATE and DEFINE.
However I am still having trouble getting my mind around parsing UNC
paths. I have a UNC path "\\myserver\dir\subdir\file.txt" in the same
location of each line (char 50 through 300 is reserved for the UNC,
whitespace fills in what isnt used).
My goal here is to whack off everything except "subdir\file.txt" so I
can tell kermit FTP to put this file in my FTP server. I have tried
to use \fcontents() but to no avail.
How do I turn off evaluation of the slashes so when I parse the line,
the original text isnt mangled?
Can somebody show me how to use function like \ftrim() or
\fsubstring() in such a way to keep my string intact?
Thanks in advance.
Wes